﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace TaskKernel.Domain.Services.Action
{
    public interface IDepartmentService
    {
        IQueryable<Task> GetTasksByDepartment(Account account, Department department);
        IEnumerable<Task> GetArchiveTasksByAccount(Account account, Department department, int count);
        IEnumerable<Task> GetAllArchiveTasksBySearchModel(Account account, SearchModel modelSearch);
        IEnumerable<Task> GetAllNotArchiveTasksBySearchModel(Account account, SearchModel modelSearch);
        IEnumerable<Task> GetTasksWithRatingsByDepartment(Account account, Department department, DateTime start, DateTime end);
    }
}